package byName;

import java.util.ArrayList;

public class ZooWorker extends Human {
	ZooWorker(String name, int age){
		this.name = name;
		this.age  = age;
		workBehavior = new WorkAccountant();
	}

	@Override
	public void display() {
		System.out.println("My name is " + name + " and I'm " + age + " years");
	}
	
	public  void getCountAnimal(ArrayList<Animal> animal){
		System.out.println("Now " + animal.size() + " animals in the zoo");
	}
}
